package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 店铺信息对象 bm_address
 *
 * @author ruoyi
 * @date 2022-11-09
 */
public class BmAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private Long addid;

    /** 店铺id */
    private Long sellerid;

    /** 联系人 */
    private String contacter;

    /** 联系电话 */
    private String tel;

    /** 大概地址 */
    private String mainaddress;

    /** 详细地址 */
    private String address;

    /** 是否默认地址 0.不是 1.是 */
    private Long isdefault;

    /** 删除标记 0.未删除 1.已删除 */
    private Long isdeleted;

    /** 经度 */
    private String lng;

    /** 纬度 */
    private String lat;

    public void setAddid(Long addid)
    {
        this.addid = addid;
    }

    public Long getAddid()
    {
        return addid;
    }
    public void setSellerid(Long sellerid)
    {
        this.sellerid = sellerid;
    }

    public Long getSellerid()
    {
        return sellerid;
    }
    public void setContacter(String contacter)
    {
        this.contacter = contacter;
    }

    public String getContacter()
    {
        return contacter;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setMainaddress(String mainaddress)
    {
        this.mainaddress = mainaddress;
    }

    public String getMainaddress()
    {
        return mainaddress;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setIsdefault(Long isdefault)
    {
        this.isdefault = isdefault;
    }

    public Long getIsdefault()
    {
        return isdefault;
    }
    public void setIsdeleted(Long isdeleted)
    {
        this.isdeleted = isdeleted;
    }

    public Long getIsdeleted()
    {
        return isdeleted;
    }
    public void setLng(String lng)
    {
        this.lng = lng;
    }

    public String getLng()
    {
        return lng;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("addid", getAddid())
                .append("sellerid", getSellerid())
                .append("contacter", getContacter())
                .append("tel", getTel())
                .append("mainaddress", getMainaddress())
                .append("address", getAddress())
                .append("isdefault", getIsdefault())
                .append("isdeleted", getIsdeleted())
                .append("lng", getLng())
                .append("lat", getLat())
                .toString();
    }
}

